#pragma once
#include "IMemoryObject.h"
#include "Mesh.h"
#include "Material.h"
class CModel : public IMemoryObject
{
public:
	CModel();
	virtual ~CModel();
	void AddMesh(CMesh* pMesh, D3DXMATRIX* pMatrix = NULL);
	void RemoveMesh(CMesh* pMesh);
	void AddTexture(CTexture* pTexture);
	void RemoveTexture(CTexture* pTexture);

private:
	std::vector<D3DXMATRIX>	mMatrixs;
	std::vector<CTexture*>	mTextures;
	std::vector<CMesh*>		mMeshs;
};




